<template>
	<view>
		<view class="smart-container">1.脚本模板语法</view>
		<view class="smart-panel" @click="goGrammarPage('templateGrammar')">脚本模板语法</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goGrammarPage(e) {
				if (typeof e === 'string') {
					uni.navigateTo({
						url:'/pages/grammar/' + e + '/' +e
					});
				} else {
					uni.navigateTo({
						url:e.url
					});
				}
			}
		}
	}
</script>

<style>

</style>
